package com.jic.interaction.JDVOP.model.vo.response;

import com.jic.product.manage.response.ProductPropertyManageResponse;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 商品系列子品
 *
 * @author :
 * @version : v1.0.0
 * @email :
 * @since : 2020-02-8 07:03:01
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ProductParentResponse {
    //商品id
    private long id;
    //商品编码
    private String code;
    //采购价-含税
    private BigDecimal purchasePriceWithTax;
    //零售价-含税
    private BigDecimal salePriceWithTax;
    //市场价
    private BigDecimal marketPrice;
    //团购价
    private BigDecimal groupBuyingPrice;
    //商品条形码
    private String barCode;
    //第三方商品编码
    private String thirdProductCode;
    //图片url,缩略图URL
    private String pictureUrl;
    //仓库名称
    private String warehouseName;
    //是否有审核记录 0否 其它有
    private Integer isAudit;
    //创建时间
    private Date createTime;
    //创建人
    private long creator;
    //上下架状态 0-下架，1-上架
    private Integer canSale;
    //计量单位名称
    private String unitsName;
    //冻结库存
    private Integer blockStock;
    //可用库存
    private Integer availableStock;
    //每日库存
    private Integer dayStock;
    //是否入仓
    private Integer warehousingFlag;
    //属性值属性名
    List<ProductPropertyManageResponse> productPropertyResponseList;

    //运费模板id
    private Long freightTemplateId;

    //所属组织id
    private Long deptId;
}
